package com.project.gjbus.entity;

import lombok.Data;

import javax.persistence.*;
import java.math.BigDecimal;

@Data
@Table(name = "t_xianlu")
public class Xianlu {
    private static final long serialVersionUID = 1L;
    /**
     * 公司简称
     */
    @Column(name = "yhjc")
    private String yhjc;
    /**
     * 线路名称
     */
    @Column(name = "xlmc")
    private String xlmc;
    /**
     * 起点站
     */
    @Column(name = "szmc")
    private String szmc;
    /**
     * 终点站
     */
    @Column(name = "mzmc")
    private String mzmc;
    /**
     * 起点至终点里程
     */
    @Column(name = "qzlc")
    private BigDecimal qzlc;
    /**
     * 终点至起点里程
     */
    @Column(name = "zqlc")
    private BigDecimal zqlc;
    /**
     * 线路规划类型 0:上下行；1:上行；2:下行
     */
    @Column(name = "xlghlx")
    private Integer xlghlx;
    /**
     * 起点首班
     */
    @Column(name = "szsb")
    private String szsb;
    /**
     * 起点末班
     */
    @Column(name = "szmb")
    private String szmb;
    /**
     * 终点首班
     */
    @Column(name = "mzsb")
    private String mzsb;
    /**
     * 终点末班
     */
    @Column(name = "mzmb")
    private String mzmb;
    /**
     * 车载上报的线路编码
     */
    @Column(name = "xlbm")
    private String xlbm;
    /**
     * 最后更新时间
     */
    @Column(name = "updatedt")
    private String updatedt;
    /**
     * id
     */
    @Id
    @Column(name = "id")
    private Long id;
    /**
     * 营运状态 0:有效；1:失效
     */
    @Column(name = "state")
    private Integer state;
    /**
     * 中间表插入或更新时间
     */
    @Column(name = "insertdt")
    private String insertdt;
}
